package com.lagou.service;

import com.lagou.pojo.Course;
import com.lagou.pojo.Course_Lesson;
import com.lagou.pojo.Course_Section;

import java.security.PublicKey;
import java.util.List;
import java.util.StringTokenizer;

/**
 * 课程内容管理
 */
public interface CourseContentService {

    //根据 课程id 查询相关信息
    public List<Course_Section> findSectionAndLessonByCourseId(int courseId);

    //根据章节id 查询课程信息
    public Course findCourseByCourseId(int courseId);

    //保存章节信息
    public String saveSection(Course_Section section);

    //修改章节
    public String updateSection(Course_Section section);

    //修改章节状态
    public String updateSectionStatus( int id, int status );


    // 保存课时信息
    public String saveLesson( Course_Lesson lesson );

    //修改课时信息
    public String updateLesson( Course_Lesson lesson );


}
